CREATE WINDOWS
STARTUP SCREENS
ItÆs hard to forget that youÆre using Windows – chances are you donÆt need to be reminded of it every time your computer comes on line and again when it shuts down. The Windows startup and shut down screens look a lot like shareware beg notices – and none too attractive ones at that. The important distinction is that shareware beg notices go away when you pay for the shareware in question. Even having paid for Windows, youÆll be confronted daily by its logo screens. While the documentation for Windows doesnÆt make any mention of it, you can change the images used for the startup and shut down screens to graphics of your own choosing. This mechanism is included in Windows to allow computer manufacturers that bundle Windows with their computers to add their own logos to the startup screen. Because doing so actually involves creating wholly new logo images, you can in fact have any graphics you like for these screens. Be warned – some of the hoops Windows requires that you jump through to make this happen are a bit oddly shaped. YouÆll require some familiarity with Graphic Workshop and Windows Paint at the very least to use the information in this document. Read the instructions carefully – while nothing in this section should be able to damage Windows, you could wind up with it looking pretty strange. As an aside, you can also disable the display of the startup screen entirely – weÆll get to that in a moment. When Windows boots up, it looks in the root directory of your hard drive – typically your C drive for a standard Windows installation – for a file called LOGO.SYS. If it doesnÆt find LOGO.SYS, it displays its own startup logo, the clouds and Microsoft graphic. When it shuts down, it looks in the same place for LOGOW.SYS for its shut down banner, followed by LOGOS.SYS, for the graphic that says "You may now shut down your computer without your computer self-destructing," or words to this effect. Again, if it doesnÆt find them, it uses its own internal graphics. Its internal graphics for the shutdown screens are stored in your \WINDOWS directory as LOGOW.SYS and LOGOS.SYS respectively. The three screens involved are a bit deceptive – they have the extension SYS, but they are in fact just BMP files which have been renamed. This is a special case of the SYS extension – in other instances, it can indicate a text file, as in CONFIG.SYS, or an executable driver. You can substitute your own graphics for WindowsÆ canned startup and shut down screens by creating LOGO.SYS, LOGOW.SYS and LOGOS.SYS and placing them in the root directory of your C drive. There are a few catches to this process, however – read on. To begin with, all LOGO bitmaps must have the dimensions 320 by 400 pixels. When Window displays a LOGO bitmap, it expands it horizontally by a factor of two, so it appears as 640 by 400. Your LOGO graphics should appear squashed horizontally when you create them. As an aside, the process of expanding LOGO graphics also makes them look a bit coarse when theyÆre displayed. This is part of the LOGO display system built into Windows, and thereÆs not much that can be done about it. The graphics you use for LOGO screens must have 256 colours. HereÆs how to create a LOGO.SYS screen for Windows. The same procedure will work for LOGOS.SYS and LOGOW.SYS.
If you restart Windows, your new startup screen should appear. Note that the moving bar across the bottom of the standard Windows startup graphic wonÆt be visible – worry not. WeÆll get to this next.
Animated Startup Logos – Not for the Faint of Heart The animated bar which appears at the bottom of the default Windows startup logo is available to the creators of replacement logos. In fact, once you understand the remarkable exercise in sneakiness by which it works, youÆll be able to create all sorts of animations if youÆre sufficiently motivated. However, itÆs fair to note that animated startup logos are not without their price. The price might be your sanity. Inasmuch as the authors of Windows clearly did not foresee individual users wishing to implement the replacement logo screen facility, they went to no trouble to make it easy to deal with. In fact, you might come to suspect that they made it overtly hostile. The animated elements in a startup logo are handled through a technique called "palette cycling." In order to understand it, youÆll need a bit of understanding of how 256-colour graphics really work. You have to wonder at the minds that think this stuff up. A 256-colour graphic is based on palette colour – youÆll know this if youÆve been through the Introduction to Graphics document also installed with Graphic Workshop. This means that the graphic in question consists of a list of 256 colours, the "palette," and a matrix of numbers from zero through 255 which represent the image, with one number per pixel. Every number references an entry in the palette. As such, if the very first pixel in the image in question has the number zero, and the zeroÆth entry in the palette is green, the very first pixel will be green. If you were to change the zeroÆth colour in the palette to blue, the first pixel would become blue. All the other pixels in the image which used palette colour zero would also become blue. When Graphic Workshop displays a 256-colour image, it displays each pixel in the colour itÆs defined as by the palette and waits for you to right-click your mouse to close the View mode. Imagine, however, viewing software which gradually changed the colours stored in the palette of such an image. Because the colours in the palette would change, the colours displayed by the pixels in the image would also change. The image would appear to animate, albeit in a really ugly way. This is called "palette cycling." For the most part itÆs useless as an animation technique because of the degree of stealth required to devise images which will appear to animate in predictable ways when their colours change. The grey bar in a Windows startup logo is a rudimentary example of palette animation. ItÆs actually a static portion of the LOGO.SYS graphic dawn in palette colours which are not used elsewhere in the image. Knowing where in the palette these special colours reside, Windows "cycles" them when the LOGO.SYS startup graphic is displayed – that is, it gradually rotates the range of colours through the selected palette entries. HereÆs an illustration of palette colours being rotated. In this case, the colours rotate eight times. A graphic or a line of boxes drawn in these colours would appear to animate just like this palette diagram does. Note that this illustration may not look right if youÆre viewing this document on a system with a 256-colour Windows screen driver. To create a startup logo with an animated bar, you must:
This is similar to the observation that all thatÆs involved in brain surgery is a bit of cutting, the repair of whatever turns out to be wrong with the brain in question and a dignified bearing upon presenting your bill. The following example assumes that there will be sixteen colours in the cycled palette. You could use more, but the tools to be described herein donÆt allow an easy way to arrive at this. This example will create an animated bar similar to the one in the default Windows startup screen – you might want to try something more adventurous once you have this one by the throat. In addition to the tools discussed thus far, youÆll also need GIF Construction Set Professional to create an animated startup logo. This must be the stand-alone version of GIF Construction Set, not the GIF Construction Set UltraLight which is included with Graphic Workshop. ItÆs available at the Alchemy Mindworks web page, http://www.mindworkshop.com/alchemy/gifcon.html.
YouÆre now ready to see what your new LOGO.SYS looks like. Type EXIT and hit Enter to close your DOS session. Restart Windows. There is, of course, a lot more you can do with the palette animation facilities of the Windows startup logo facilities if youÆre really serious about all this. For most users of Windows, just banishing the default Microsoft graphic will be sufficient.
Disabling the Startup Logo Entirely As a final note, you can prevent Windows from displaying any startup logo if you like. Note that unlike the foregoing manipulations of WindowsÆ logo screens, this procedure does have the potential for crippling Windows if itÆs done incorrectly. HereÆs how to turn off the startup logo.
When you restart Windows, the startup logo should not be seen. This document and all the other documentation included with Graphic Workshop Professional is copyright © 1995, 1996, 1997, 1998, 1999, 2002 Alchemy Mindworks. It may not be reproduced in whole or in part or transmitted in any form save as a component part of the Graphic Workshop Professional software without the explicit written permission of the copyright holder. Unauthorized use of this document or any portion thereof may result in severe criminal and civil penalties. Alchemy Mindworks accepts no responsibility for any loss, damage or expense caused by your use of the information in this document, however it occurs. This product is marketed under license from Alchemy Mindworks Corporation.
|